﻿using CoreProject.IRepository;
using CoreProject.IService;
using CoreProject.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CoreProject.Service
{
    public class PderxqService:BaseService<Pderxq>,IPderxqService
    {
        private readonly IPderxqRepository _repository;
        public PderxqService(IPderxqRepository pderxqRepository):base(pderxqRepository) {
            _repository = pderxqRepository;
        }

        public async Task<List<Pderxq>> cha()
        {
            return await _repository.cha(u => true);
        }
        public async Task<bool>jiaq(List<Pderxq> t)
        {
            return await _repository.jiaq(t);
        }
    }
}
